/*
Theme Name: Divi Child Theme
Description: Child Theme
Author: Chronogolf
Author URI: https://chronogolf.com
Template: Divi
Version: 1.0.1
*/
/*****Add any custom CSS below this line*****/
.clear { clear: both; }
@media (max-width: 980px){
.et_header_style_centered #logo {
max-height: 100px;
}
}
/***** Break line for responsive menu *****/
@media (max-width: 1024px) {
#et_mobile_nav_menu {
display: block;
}
tbody.rates tr:nth-child(odd) {
background-color: #eaeaea;
}
#top-menu {
display: none;
}
}
.et_header_style_left #et-top-navigation
{
padding-top: 55px !important;
}
/*Pixelated Logo*/
#logo {
-webkit-transform: initial;
}
/*Pixelated Logo*/
#logo {-webkit-transform: initial;}
/*HIDE FORM TITLES*/
.et_pb_contact_main_title
{display: none;}
/*VERTICALLY ALIGN CONTENT*/
.et_pb_equal_columns >.et_pb_column
{margin-top:auto; margin-bottom:auto;}
/*HIDE GALLERY TITLES*/
.mfp-title {display: none!important;}
/* INFO SECONDARY HEADER */
#et-info { float: right; }
/* END INFO SECONDARY HEADER */
/* ANIMATION SLIDE ENTRANCE */
.et-pb-active-slide .et_pb_slide_description { animation-name:fadeIn;}
.et-pb-active-slide .et_pb_slide_image, .et-pb-active-slide .et_pb_slide_video { animation-name: fadeIn;}
/* END ANIMATION SLIDE ENTRANCE */
/* MENU RESPONSIVE */
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\4c'; top: 13px; right: 10px; }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important; transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }
/* END MENU RESPONSIVE */
/* EQUALIZE COLUMN HEIGHT */
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}
/* END EQUALIZE COLUMN HEIGHT */
/* CF7 STYLE */
.wpcf7 input[type=email] {
height: 45px;
width: 45%;
margin-right: 5%;
margin-bottom: 40px;
float: left;
border:none;
border-bottom: 3px solid #eaeaea;
background-color: #fff;
}
.wpcf7 input[type=email].email-contact
{
height: 45px;
width: 95%;
margin-right: 5%;
margin-bottom: 40px;
float: left;
border:none;
border-bottom: 3px solid #eaeaea;
background-color: #fff;
}
.wpcf7 input[type=tel] {
height: 45px;
width: 45%;
margin-bottom: 40px;
float: left;
border:none;
border-bottom: 3px solid #eaeaea;
background-color: #fff;
}
.wpcf7 input[type=text] { height: 45px;
width: 95%;
float: left;
border-bottom: 3px solid #eaeaea !important;
border:none;
margin-bottom: 40px;
background-color: #fff;}
.wpcf7 input[type=date]{
height: 45px;
width: 45%;
margin-right: 5%;
border-bottom: 3px solid #eaeaea !important;
border:none;
float: left;
padding-left: 10px;
color: #666;
margin-bottom: 40px;
background-color: #fff;
text-transform: uppercase;
}
.wpcf7 select{
height: 45px;
width: 95%;
float: left;
border: 5px solid #eaeaea;
margin-bottom: 20px;
border:none;
background-color: #fff;
text-transform: uppercase;
}
span.wpcf7-not-valid-tip {
color: #f00;
font-size: 1em;
font-weight: normal;
float: left;
display: block;}
span.wpcf7-form-control-wrap.text-262 { float: left; width: 47.5%; }
.wpcf7 input::placeholder { text-transform: uppercase; padding-left: 10px !important; }
.wpcf7-textarea { width: 95%; border: none;
border-bottom: 3px solid #eaeaea;
background-color: #fff;
}
.wpcf7-textarea::placeholder { text-transform: uppercase; padding-left: 10px !important; }
.wpcf7 label { font-family: inherit; text-transform: uppercase; }
.wpcf7-submit {
background: #fff;
color: #e34238;
font-size: 18px;
border: 2px solid #e34238;
padding: 10px 50px;
}
.wpcf7-submit:hover {
background: #e34238;
color: #fff;
cursor: pointer;
box-shadow: 4px 4px 2px #eaeaea;
}
/* END CF7 STYLE */
/* BLURB SECTION */
.golf_header .et_pb_column .et_pb_button {
width: 100%;
padding: 0.7vw 0.2vw !important;
}
.golf_blurbs_cont .et_pb_blurb {
position: relative;
}
.golf_blurbs_cont .et_pb_blurb:before {
content: "";
display: block;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: #466458;
opacity: 0.6;
transition: 0.3s;
}
.golf-blurbs h4 {
padding-bottom: 38.4vw !important;
}
.golf-blurbs .et_pb_blurb_content p {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform-origin: left top;
font-size: 16px;
letter-spacing: 10px;
margin-left: -7px;
margin-bottom: -23px;
}
.golf-classes .et_pb_main_blurb_image {
margin-bottom: 0 !important;
}
.golf-classes .et_pb_main_blurb_image img {
display: block;
width: 100%;
}
.golf-classes .et_pb_blurb_container {
padding: 1.8vw;;
}
.golf-classes p img {
margin-top: 8px !important;
}
.golf-classes h3 {
color: #bcc8c7 !important;
font-size: 16px;
font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
font-weight: 500;
padding-bottom: 7px;
margin-top: 27px;
text-transform: uppercase;
}
/* HOVERS */
.golf_blurbs_cont .et_pb_blurb {
height: 45.8vw;
cursor: pointer;
}
.golf_blurbs_cont .et_pb_blurb:hover:before {
opacity: 0.3;
}
.golf_blurbs_cont .et_pb_blurb .et_pb_blurb_container,
.golf_blurbs_cont .et_pb_blurb h4,
.golf_blurbs_cont .et_pb_blurb .et_pb_blurb_content p {
transition: 0.3s !important;
}
.golf_blurbs_cont .et_pb_blurb:hover .et_pb_blurb_content p {
-webkit-transform: rotate(-0deg);
-moz-transform: rotate(-0deg);
-ms-transform: rotate(-0deg);
-o-transform: rotate(-0deg);
margin-left: 0;
}
.golf_blurbs_cont .et_pb_blurb:hover h4 {
padding-bottom: 0 !important;
}
.golf_blurbs_cont .et_pb_blurb:hover .et_pb_blurb_container {
transform: translate(-1vw, -1.5vw);
}
.golf-classes {
cursor: pointer;
}
.golf-classes .et_pb_main_blurb_image {
overflow: hidden;
}
.golf-classes .et_pb_blurb_container img,
.golf-classes .et_pb_main_blurb_image img {
transition: 0.3s !important;
}
.golf-classes:hover .et_pb_blurb_container p img {
transform: scale(1.3);
}
.golf-classes:hover .et_pb_main_blurb_image img {
transform: scale(1.1) rotate(5deg);
}
.golf_instructors .et_pb_blurb {
cursor: pointer;
}
.golf_instructors .et_pb_main_blurb_image img {
transition: 0.3s !important;
}
.golf_instructors .et_pb_blurb:hover .et_pb_main_blurb_image img {
transform: scale(1.1);
}
.golf_instructors .et_pb_blurb_container h4:after {
content: "";
display: block;
width: 0;
margin: 7px auto -7px;
height: 1px;
background-color: #333;
transition: 0.3s !important;
}
.golf_instructors .et_pb_blurb:hover .et_pb_blurb_container h4:after {
width: 70%;
}
/* RESPONSIVE */
@media only screen and (max-width: 1390px) {
.golf-blurbs h4 a,
.golf-blurbs h4 {
font-size: 18px !important;
}
.golf-blurbs h4 {
padding-bottom: 35vw !important;
}
.golf_instructors h4 a,
.golf_instructors h4 {
font-size: 18px !important;
}
#page-container .golf_big_text .et_pb_promo_description h2 {
font-size: 260px !important;
}
}
@media only screen and (max-width: 980px) {
.golf_blurbs_cont .et_pb_blurb {
height: 80vw;
}
.golf-blurbs h4 {
padding-bottom: 65vw !important;
}
.golf-classes .et_pb_blurb_content {
max-width: 100% !important;
}
.golf-classes .et_pb_blurb_container {
padding: 40px;
}
.golf_header .et_pb_column_1_4:last-child,
.golf_header .et_pb_column_1_4:nth-last-child(2){
margin-bottom: 0 !important;
}
.golf_header .et_pb_column_1_4{
margin-bottom: 10px !important;
}
}
@media only screen and (max-width: 479px) {
.golf_blurbs_cont .et_pb_blurb {
height: 150vw;
}
.golf-blurbs h4 {
padding-bottom: 120vw !important;
}
#page-container .golf_blurbs_cont .et_pb_blurb {
padding: 40px !important;
}
.golf_header .et_pb_column_1_4:first-child,
.golf_header .et_pb_column_1_4:nth-child(2),
.golf_header .et_pb_column_1_4:nth-last-child(2){
margin-bottom: 5px !important;
}
.golf_header {
padding-bottom: 10px !important;
}
.golf_header .et_pb_column_1_2 .et_pb_promo {
padding-bottom: 17vw!important;
}
}
/* END SECTION BLURB */